package com.qf.day02;

import java.util.Scanner;

public class ifElseDome {

    public static void main(String[] args) {
        System.out.println("输入成绩");
        Scanner scanner = new Scanner(System.in);
        double s = scanner.nextDouble();
        if (s < 15) {
            System.out.println("输入性别");
            String sex;
            sex = scanner.next();
            if (sex.equals("男")) {
                System.out.println("进入男子决赛");
            } else {
                System.out.println("进入女子决赛");
            }
        } else {
            System.out.println("出局");
        }

    }

}
